package com.jack.orderDemo;

public class Goods {
    private String info;
    private int price;
    private int id;

    @Override
    public String toString() {
        return "Goods{" +
                "info='" + info + '\'' +
                ", price=" + price +
                ", id=" + id +
                '}';
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Goods(String info, int price, int id) {
        this.info = info;
        this.price = price;
        this.id = id;
    }

    public Goods() {
    }


}
